package org.zjt.spiextensiondemo.collector;

import org.zjt.spiextensiondemo.annotaion.SPI;
import org.zjt.spiextensiondemo.domain.TraceMessage;

import java.io.IOException;

/**
 * @author <a href="juntao.zhang@bkjk.com">juntao.zhang</a>
 * @Description:
 * @Package org.zjt.spiextensiondemo.annotaion
 * @date 2017/12/4 18:08
 * @see
 */
@SPI(value = "collector")
public interface TraceCollector {

    void pushTraceMsg(TraceMessage traceMessage)throws IOException;

}
